package com.zjj.learn.designmodel.principles.demo2.before;

/** 定义长方形类
 * *** @author zjj_admin
 * *** 2022/4/4 23:15
 */
public class Rectangle {

    private double length;
    private double width;

    public double getLength() {
        return length;
    }

    public void setLength(double length) {
        this.length = length;
    }

    public double getWidth() {
        return width;
    }

    public void setWidth(double width) {
        this.width = width;
    }
}
